import {createStore, applyMiddleware} from "redux";
// redux-thunk中间件
import thunk from "redux-thunk";

import allReducer from './reducers'

const store = createStore(allReducer, applyMiddleware(thunk))

export default store
